package com.dhcy.mqtt.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.dhcy.mqtt.result.ht.FieldResult;
import com.dhcy.mqtt.result.ht.TableResult;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface AutoMapper extends BaseMapper {

     List<TableResult> tableList(IPage page,String tableName);

     List<FieldResult> fieldList(@Param("tableName") String tableName, @Param("databaseName")String databaseName);
}
